{*
 * @license   GPLv3 Open Source
 *}
 
<div style="float:left; width: 10%;">
	{include file='joopport/links.tpl'}
</div>

{$html->toolbar->title('##Edit joop license##')}
{$html->toolbar->save()}
{$html->toolbar->cancel()}

<div style="float:right; width: 90%;">
<form name="adminForm" method="POST">
	{$html->form->param('option','com_agora')}
	{$html->form->param('task','joopport')}
    {$html->form->param('agora_task','joopport')}
	{$html->form->param('page','questions')}
	{$html->form->param('action','save')}
	{$html->form->param('type','clean')}
        
        {$html->form->param('form[id]',$questions.id)}
	
	<fieldset>
		<legend>##Edit joop question##</legend>
		<table class="admintable">
			<tbody>
				<tr >
                     <td class="key">ID:</td>
                     <td>{$questions.id}</td>
                </tr>
   					{adminform->textarea var='subject' value=$questions.subject caption='Subject' rows="4" cols="40"}
					{adminform->radio var='answertype' caption='Large text field' desc='Field must be text field, not line' value=$questions.answertype}
					{adminform->radio var='answercond' caption='Is necessary' desc='Field must be filled' value=$questions.answercond}
					{adminform->text var='default_values' value=$questions.default_values caption='Default value'}
			</tbody>
		</table>
	</fieldset>

</form>


</div>
